package com.zhkj.txg.module.mine.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zhkj.txg.R
import com.zhkj.txg.module.mine.entity.BalanceListEntity

class BalanceAdapter : BaseQuickAdapter<BalanceListEntity, BaseViewHolder>(R.layout.item_balance),
    LoadMoreModule {

    override fun convert(helper: BaseViewHolder, item: BalanceListEntity) {
        helper.setText(R.id.tvBalanceType, item.memo)
            .setText(R.id.tvBalanceDate, item.createTime)
            .setText(R.id.tvBalanceAmount, item.money)
    }
}